package com.ecoolex.discount.sales.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.discount.sales.core.mapper.UPlanCouponBatchMapper;
import com.ecoolex.discount.sales.entity.DiscountBrandWithBLOBs;
import com.ecoolex.discount.sales.pojo.QueryCouponBatchDTO;
import com.ecoolex.framework.common.pojo.Page;

public interface UPlanCouponBatchDAO extends UPlanCouponBatchMapper {
    long count(@Param("query") QueryCouponBatchDTO query);

    List<DiscountBrandWithBLOBs> query(@Param("query") QueryCouponBatchDTO query, @Param("sorts") String sorts , @Param("page") Page page);

}